package kii.wapis
{
	import flash.events.IEventDispatcher;

	public interface IService extends IEventDispatcher
	{
		function get endPoint():String;
		function set endPoint(value:String):void;
		
		function get apiKey():String;
		function set apiKey(value:String):void;
		
		function get sharedParams():Vector.<Param>;
		function set sharedParams(value:Vector.<Param>):void;
		
		function get children():Vector.<IService>;
		function get parent():IService;
		function set parent(value:IService):void;
		
		function add(child:IService):IService;
		function remove(child:IService):IService;
		function contains(child:IService):Boolean;
	}
}